package com.imooc.course.server.service;

import com.imooc.course.server.dto.RoleUserDto;
import com.imooc.course.server.dto.PageDto;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

public interface RoleUserService {

    void getList(PageDto pageDto);

    void save(RoleUserDto roleUserDto);

    void delete(String id);

    void authorization(RoleUserDto roleUserDto);

    List<RoleUserDto> getListByRoleId(String roleId);
}
